import request from '@/utils/request';

export async function queryCurrent() {
  return JSON.parse(localStorage.getItem("antd-pro-authority"));
}
export async function loginOut() {
  return request({
    url: '/logout',
    method: 'POST',
  });
}

/**
 * 获取按钮权限列表
 */
export function getSystemMenu() {
  return request( `system/menu`)
}